package com.hkyl.hospital.mapper;

import com.hkyl.hospital.entity.Hospitalized;
import com.hkyl.hospital.entity.HospitalizedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HospitalizedMapper {
    int countByExample(HospitalizedExample example);

    int deleteByExample(HospitalizedExample example);

    int deleteByPrimaryKey(Integer hospitalizedId);

    int insert(Hospitalized record);

    int insertSelective(Hospitalized record);

    List<Hospitalized> selectByExample(HospitalizedExample example);

    Hospitalized selectByPrimaryKey(Integer hospitalizedId);

    int updateByExampleSelective(@Param("record") Hospitalized record, @Param("example") HospitalizedExample example);

    int updateByExample(@Param("record") Hospitalized record, @Param("example") HospitalizedExample example);

    int updateByPrimaryKeySelective(Hospitalized record);

    int updateByPrimaryKey(Hospitalized record);
}